package com.djdevs.calculatorconverter;

import java.util.*;

public class Converter {
	String type;
	String baseUnitCode;
	ArrayList<ConvUnit> lstUnits; 
	
	public Converter()
	{
		type = "";
		baseUnitCode = "";
		lstUnits = new ArrayList<ConvUnit>();
	}
}

class ConvUnit {
	int id;
	String unitCode;
	String unitName;
	Double conversionFactor;
	String conversionType;
	Double defaultZero;
	Double unitValue;
	
	public ConvUnit()
	{ 
		id = 0;
		unitCode = "";
		unitName = "";
		conversionFactor = 0.0;
		conversionType = "";
		defaultZero = 0.0;
		unitValue = 0.0;
	}
}